package com.spider.im.login.enums;


import lombok.Getter;

/**
 * 登陆类型枚举
 *
 * @author joy
 */
@Getter
public enum LoginTypeEnum {
    PHONE(1, "手机验证码登陆"),
    USERNAME(2, "用户名登陆"),
    WECHAT(3, "微信登陆"),
    ;

  private final Integer type;

  private final String desc;

    LoginTypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
